package org.lanqiao.webfm.model;

import java.sql.ResultSet;
import java.sql.SQLException;

import javacommon.ijdbc.RowMapper;

public class RightsRoleMapper implements RowMapper<RightsRole>{
	@Override
	public RightsRole mapRow(ResultSet rs) throws SQLException {
		RightsRole role = new RightsRole();
		role.setId(rs.getInt("id"));
		role.setName(rs.getString("name"));
		return role;
	}
}
